package com.qkst.website.backstage.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.qkst.website.backstage.entity.Product;
/**
 * @author lh
 * @description 产品实体Bean 前端页面交互使用
 * @date 2017-05-03
 * @email ahlxlihao@163.com
 *
 */
public class ProductBean extends Product implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8308573561855596757L;


    /**
     * 产品类别
     */
    private CategoryBean category =new CategoryBean();
    /**
     * 产品属性
     */
    private List<ProductRelAttrBean> attrList = new ArrayList<ProductRelAttrBean>();
    
    /**
     * 产品价格
     */
    private OfferPriceBean offerPrice;
    
    /**
     * 产品库存
     */
    private InventoryBean inventory;
    
    /**
     * 产品关系
     */
    private ProductRelBean productRel;
    
    /**
     * 产品所属销售目录
     */
    private CatgroupBean catgroup = new CatgroupBean();
	
	public CategoryBean getCategory() {
		return category;
	}
	public void setCategory(CategoryBean category) {
		this.category = category;
	}
	public List<ProductRelAttrBean> getAttrList() {
		return attrList;
	}
	public void setAttrList(List<ProductRelAttrBean> attrList) {
		this.attrList = attrList;
	}
	public OfferPriceBean getOfferPrice() {
		return offerPrice;
	}
	public void setOfferPrice(OfferPriceBean offerPrice) {
		this.offerPrice = offerPrice;
	}
	public InventoryBean getInventory() {
		return inventory;
	}
	public void setInventory(InventoryBean inventory) {
		this.inventory = inventory;
	}
	public ProductRelBean getProductRel() {
		return productRel;
	}
	public void setProductRel(ProductRelBean productRel) {
		this.productRel = productRel;
	}
	public CatgroupBean getCatgroup() {
		return catgroup;
	}
	public void setCatgroup(CatgroupBean catgroup) {
		this.catgroup = catgroup;
	}
	
	

}